package com.cg.controller;


import com.cg.service.ICgCommunicationUserService;
import com.cg.util.token.md5Util.Md5Util;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/login")
public class LoginController {

    @Autowired
    ICgCommunicationUserService iCgCommunicationUserService;

    @GetMapping("/")
    public String login(String userName,String userPasswd){
        iCgCommunicationUserService.queryUserName(Md5Util.md5Dispose(userName));
        System.out.println();


        return "";
    }

}
